package com.hundsun.monitor.shared.model;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="TB_MONITOR_ERROR_LOG")
public class MonitorErrorLog implements Serializable {

	private static final long serialVersionUID = -1453376195630668767L;

	private String id;

    private Long createtime;

    private String monitorkey;

    private String monitorname;

    private String type;

    private String displaytype;

    private String displaytypename;

    private String xml;

    private String errorlevel;

    private String log_type;

    private String content;

    private String subcore;

    private String host;
    
    public MonitorErrorLog(){
    }
    
	@Id
	@Column(name="EL_ID")
	@GeneratedValue(strategy=GenerationType.IDENTITY)
    public String getId() {
        return id;
    }
	
	@Column(name="XML",columnDefinition="longtext")
    public String getXml() {
        return xml;
    }

    public void setXml(String xml) {
        this.xml = xml;
    }
    
    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Long getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Long createtime) {
        this.createtime = createtime;
    }

    public String getMonitorkey() {
        return monitorkey;
    }

    public void setMonitorkey(String monitorkey) {
        this.monitorkey = monitorkey;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getErrorlevel() {
        return errorlevel;
    }

    public void setErrorlevel(String errorlevel) {
        this.errorlevel = errorlevel;
    }

    public String getLog_type() {
        return log_type;
    }

    public void setLog_type(String log_type) {
        this.log_type = log_type;
    }

	public String getMonitorname() {
        return monitorname;
    }

    public void setMonitorname(String monitorname) {
        this.monitorname = monitorname;
    }

    public String getDisplaytype() {
        return displaytype;
    }

    public void setDisplaytype(String displaytype) {
        this.displaytype = displaytype;
    }

    public String getDisplaytypename() {
        return displaytypename;
    }

    public void setDisplaytypename(String displaytypename) {
        this.displaytypename = displaytypename;
    }

    public String getSubcore() {
        return subcore;
    }

    public void setSubcore(String subcore) {
        this.subcore = subcore;
    }

	public String getHost() {
		return host;
	}

	public void setHost(String host) {
		this.host = host;
	}

}
